//
//  NSString+Extend.m
//  day-demo4分类
//
//  Created by Maggie on 15/8/1.
//  Copyright (c) 2015年 fmning. All rights reserved.
//

#import "NSString+Extend.h"

@implementation NSString (Extend)

-(BOOL)isAllDigit{
    for (int i = 0; i < [self length]; i++) {
        
        char c = [self characterAtIndex:i];
        
        if (c >= '0' && c <= '9') {
            continue;
        }
        else{
            return NO;
        }
    }
    return YES;
}

@end





